package vorlesung1810

object ex10 {
  def main(args : Array[String]) : Unit = {
    val sqp = (x: Double) => x * x
    val neg = (x: Double) => -x
    val f = neg compose sqp

    println(sqp(neg(2)))
    println(neg(sqp(2)))    
  }
}
